package com.example.netlib.activity;

import android.app.Activity;
import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.example.netlib.loading.DialogLoadingAction;
import com.example.netlib.netwrapper.LocalHttpClientHolder;
import com.example.netlib.netwrapper.NetHttpClientHolder;
import com.szlanyou.thirdsdk.retrofit.loading.NetLoadingStateAction;
import com.szlanyou.thirdsdk.retrofit.loading.helper.ActivityDialogLoadingHelper;
import com.szlanyou.thirdsdk.retrofit.loading.helper.AppSingleDialogLoadingHelper;

/**
 * @author 陈章
 * create at 2021/7/13 10:29
 * desc:
 */
public class BaseActivity extends AppCompatActivity {
    @Override
    protected void onDestroy() {
        AppSingleDialogLoadingHelper.getInstance().onActivityDestroy();
        super.onDestroy();
    }

    @Override
    public void onBackPressed() {
        finishAfterTransition();
    }
}
